.index-container {
  flex: 1;
  margin-top: -64px;
  background-color: #fff;
}
.banner-container {
  height: 254px;
  padding-top: 108px;
  margin-bottom: 24px;
  color: #fff;
  text-align: center;
  background-image: url(../styles/images/docIndex/bg-left.png), url(../styles/images/docIndex/bg-right.png), url(../styles/images/docIndex/bg-star.png), url(../styles/images/docIndex/bg.png);
  background-position: left 15px bottom, right bottom 36px, center center, center center;
  background-repeat: no-repeat;
  background-size: auto 160px, auto 126px, auto 100%, 100% 100%;
  & .title {
    color: inherit;
    font-weight: 600;
    font-size: 36px;
    line-height: 42px;
    margin: 0;
    padding: 0 0 14px;
  }
  & .desc {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 24px;
    color: #DED6FD;
  }
}

.index-container .menu-container {
  margin: 0 auto 40px;
  padding: 0 20px;
  max-width: 1180px;
}
.card-box {
  padding-top: 40px;
  & .card-title {
    color: #000000;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    margin: 0;
    padding: 0 0 20px;
  }
  & .card-desc {
    color: #606266;
    font-size: 16px;
    line-height: 36px;
    padding-bottom: 24px;
    margin: 0;
    margin-top: -4px;
  }
  & .product-box {
    width: calc((100% - 48px) / 3);
    transition: border .3s;
    padding: 24px 10px 24px 20px;
    &:not(.parameter) {
      align-items: flex-start;
    }
    &:hover {
      color: #606266;
      border-color: #ff6407;
    }
    & .title {
      font-size: 16px;
    }
    & .desc {
      padding-top: 8px;
    }
    & .tool-icon {
      padding: 7px;
    }
  }
}
.db-card-menus, .card-menus {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.menu-item, .card-box .product-box {
  border-radius: 4px;
  border: 1px solid #EFECEB;
  margin: 0 0 24px 0;
}
.menu-item {
  position: relative;
  cursor: pointer;
  width: calc((100% - 24px) / 2);
  transition: border .3s;
  padding: 30px 28px 0;
  background-position: right 20px center;
  background-size: auto 140px;
  background-repeat: no-repeat;
  &.mogdb1 {
    background-image: url(../styles/images/docIndex/mogdb-1.svg);
  }
  &.mogdb2 {
    background-image: url(../styles/images/docIndex/mogdb-2.svg);
  }
  &.mogdb3 {
    background-image: url(../styles/images/docIndex/mogdb-3.svg);
  }
  &.uqbar1 {
    background-image: url(../styles/images/docIndex/uqbar-1.svg);
  }
  &.uqbar2 {
    background-image: url(../styles/images/docIndex/uqbar-2.svg);
  }
  &:hover {
    border-color: #ff6407;
    color: #606266;
  }
  & .title {
    color: #303133;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
  }
  & .desc {
    padding: 12px 0 77px;
    color: #606266;
    font-size: 12px;
    line-height: 18px;
    max-width: 260px;
  }
  & .btn{
    position: absolute;
    left: 28px;
    bottom: 30px;
    display: inline-block;
    padding: 6px 13px;
    background: #FF6407;
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 12px;
    & span {
      padding-right: 4px;
    }
  }
}

@media screen and (max-width: 1100px) {
  .menu-item {
    background-size: auto 120px;
    & .desc {
      max-width: 220px;
    }
  }
}
@media screen and (max-width: 950px) {
  .menu-item {
    background-size: auto 100px;
    & .desc {
      max-width: 200px;
    }
  }
}

@media screen and (max-width: 900px) {
  .menu-item {
    width: 100%;
    & .desc {
      max-width: 80%;
    }
  }
  .card-box {
    & .product-box {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (max-width: 768px) {
  .banner-container {
    height: 180px;
    padding-top: 65px;
    margin-bottom: 12px;
    background-size: auto 85px, auto 63px, auto 100%, auto 100%;
    background-position: left 0 bottom, right bottom 59px, center center, center center;
    & .title {
      font-size: 18px;
      line-height: 18px;
      padding-bottom: 10px;
    }
    & .desc {
      font-size: 12px;
      line-height: 12px;
    }
  }
  .index-container .menu-container {
    margin-bottom: 9px;
    padding: 0 24px;
  }
  .card-box {
    padding-top: 9px;
    & .card-title {
      font-size: 18px;
      line-height: 20px;
      padding-bottom: 12px;
    }
    & .card-desc {
      font-size: 14px;
      line-height: 20px;
      padding-bottom: 11px;
    }
    & .product-box {
      width: 100%;
      padding: 28px 10px 28px 15px;
      & .title {
        font-size: 14px;
      }
      & .desc {
        padding-top: 9px;
      }
      & .tool-icon {
        padding: 8px;
      }
    }
  }
  .menu-item, .card-box .product-box {
    border-radius: 5px;
    margin: 0 0 12px 0;
  }
  .menu-item {
    padding: 16px 12px 0;
    background-position: right 12px center;
    background-size: auto 80px;
    & .title {
      font-size: 14px;
      line-height: 16px;
    }
    & .desc {
      padding: 9px 0 62px;
      max-width: 60%;
    }
    & .btn{
      left: 12px;
      bottom: 12px;
      padding: 9px 12px;
      font-size: 12px;
      border-radius: 2px;
    }
  }
}